import './myinterface';
import { GoodItem, mapStar, sprite } from './myinterface';

export const goods = () => {
  let goods: GoodItem[] = [
    {
      name: '普通胶囊',
      type: 'catchSprite',
      size: 20,
      odds: '20%',
      info: '可能抓到精灵',
    },
    {
      name: '中级胶囊',
      type: 'catchSprite',
      size: 10,
      odds: '30%',
      info: '较大可能抓到精灵',
    },
    {
      name: '高级胶囊',
      type: 'catchSprite',
      size: 10,
      odds: '35%',
      info: '很大可能抓到精灵',
    },
    {
      name: '普通回血',
      type: 'statusReurn',
      attr: {
        hp: 20,
      },
      size: 20,
      info: '回复20hp',
    },
    {
      name: '中级回血',
      type: 'statusReurn',

      attr: {
        hp: 50,
      },
      size: 10,
      info: '回复50hp',
    },
    {
      name: '高级回血',
      type: 'statusReurn',

      attr: {
        hp: 100,
      },
      size: 10,
      info: '回复100hp',
    },
    {
      name: '普通回蓝',
      type: 'statusReurn',
      attr: {
        pp: 5,
      },
      size: 20,
      info: '所有技能回复5pp',
    },
    {
      name: '中级回蓝',
      type: 'statusReurn',

      attr: {
        pp: 10,
      },
      size: 10,
      info: '所有技能回复10pp',
    },
    {
      name: '高级回蓝',
      type: 'statusReurn',
      attr: {
        pp: 20,
      },
      size: 10,
      info: '所有技能回复20pp',
    },
  ];
  return goods;
};
export const spriteCatchGoods = () => {
  return [
    {
      name: '普通胶囊',
      type: 'catchSprite',
      size: '20',
      odds: '20%',
      info: '可能抓到精灵',
    },
    {
      name: '中级胶囊',
      type: 'catchSprite',
      size: '10',
      odds: '30%',
      info: '较大可能抓到精灵',
    },
    {
      name: '高级胶囊',
      type: 'catchSprite',
      size: '10',
      odds: '35%',
      info: '很大可能抓到精灵',
    },
  ];
};
export const spriteStatusGoods = () => {
  return [
    {
      name: '普通回血',
      type: 'statusReurn',
      attr: {
        hp: '20',
      },
      size: '20',
      info: '回复20hp',
    },
    {
      name: '中级回血',
      type: 'statusReurn',

      attr: {
        hp: '50',
      },
      size: '10',
      info: '回复50hp',
    },
    {
      name: '高级回血',
      type: 'statusReurn',

      attr: {
        hp: '100',
      },
      size: '10',
      info: '回复100hp',
    },
    {
      name: '普通回蓝',
      type: 'statusReurn',

      attr: {
        pp: '5',
      },
      size: '20',
      info: '所有技能回复5pp',
    },
    {
      name: '中级回蓝',
      type: 'statusReurn',

      attr: {
        pp: '10',
      },
      size: '10',
      info: '所有技能回复10pp',
    },
    {
      name: '高级回蓝',
      type: 'statusReurn',
      attr: {
        pp: '20',
      },
      size: '10',
      info: '所有技能回复20pp',
    },
  ];
};
export const spriteArry = () => {
  let mySprite: sprite[] = [
    {
      spriteId: 1,
      name: '小火猴',
      lv: 1,
      exp: {
        currExp: 23,
        maxExp: 100,
      },
      attr: {
        currAttr: {
          hp: 85,
          atk: 4,
          int: 0,
          def: 2,
          res: 2,
          phy: 1,
          agl: 2,
        },
        maxAttr: {
          hp: 100,
          atk: 5,
          int: 0,
          def: 2,
          res: 2,
          phy: 1,
          agl: 2,
        },
      },
      skill: [
        {
          name: '抓',
          type: 'atk', //atk 普工，int 特攻
          power: 5, //威力
          info: '最原始的攻击，只能造成轻微的伤害',
          size: 30,
          count: 30,
        },
        {
          name: '吼',
          type: 'int', //atk 普工，int 特攻
          power: 0, //威力
          info: '有几率让对方害怕',
          size: 30,
          count: 30,
        },
        {
          name: '爬',
          type: 'int', //atk 普工，int 特攻
          power: 5, //威力
          info: '短暂提升速度',
          size: 30,
          count: 30,
        },
        {
          name: '瞪眼',
          type: 'atk', //atk 普工，int 特攻
          power: 5, //威力
          info: '一种最原始的攻击，只能造成轻微的伤害',
          size: 30,
          count: 30,
        },
      ],
    },
    {
      spriteId: 1,
      name: '小豆芽',
      lv: 1,
      exp: {
        currExp: 23,
        maxExp: 100,
      },
      attr: {
        currAttr: {
          hp: 85,
          atk: 5,
          int: 0,
          def: 2,
          res: 2,
          phy: 1,
          agl: 2,
        },
        maxAttr: {
          hp: 100,
          atk: 5,
          int: 0,
          def: 2,
          res: 2,
          phy: 1,
          agl: 2,
        },
      },
      skill: [
        {
          name: '生长',
          type: 'atk', //atk 普工，int 特攻
          power: 5, //威力
          info: '最原始的攻击，只能造成轻微的伤害',
          size: 30,
          count: 30,
        },
        {
          name: '吼',
          type: 'int', //atk 普工，int 特攻
          power: 0, //威力
          info: '有几率让对方害怕',
          size: 30,
          count: 30,
        },
        {
          name: '爬',
          type: 'int', //atk 普工，int 特攻
          power: 5, //威力
          info: '短暂提升速度',
          size: 30,
          count: 30,
        },
        {
          name: '瞪眼',
          type: 'atk', //atk 普工，int 特攻
          power: 5, //威力
          info: '一种最原始的攻击，只能造成轻微的伤害',
          size: 30,
          count: 30,
        },
      ],
    },
    {
      spriteId: 1,
      name: '贝尔',
      lv: 1,
      exp: {
        currExp: 0,
        maxExp: 100,
      },
      attr: {
        currAttr: {
          hp: 100,
          atk: 5,
          int: 0,
          def: 2,
          res: 2,
          phy: 1,
          agl: 2,
        },
        maxAttr: {
          hp: 100,
          atk: 5,
          int: 0,
          def: 2,
          res: 2,
          phy: 1,
          agl: 2,
        },
      },
      skill: [
        {
          name: '抓',
          type: 'atk', //atk 普工，int 特攻
          power: 5, //威力
          info: '最原始的攻击，只能造成轻微的伤害',
          size: 30,
          count: 30,
        },
        {
          name: '吼',
          type: 'int', //atk 普工，int 特攻
          power: 0, //威力
          info: '有几率让对方害怕',
          size: 30,
          count: 30,
        },
        {
          name: '爬',
          type: 'int', //atk 普工，int 特攻
          power: 5, //威力
          info: '短暂提升速度',
          size: 30,
          count: 30,
        },
        {
          name: '瞪眼',
          type: 'atk', //atk 普工，int 特攻
          power: 5, //威力
          info: '一种最原始的攻击，只能造成轻微的伤害',
          size: 30,
          count: 30,
        },
      ],
    },
    {
      spriteId: 1,
      name: '吉尔',
      lv: 1,
      exp: {
        currExp: 0,
        maxExp: 100,
      },
      attr: {
        currAttr: {
          hp: 81,
          atk: 5,
          int: 0,
          def: 2,
          res: 2,
          phy: 1,
          agl: 2,
        },
        maxAttr: {
          hp: 100,
          atk: 5,
          int: 0,
          def: 2,
          res: 2,
          phy: 1,
          agl: 2,
        },
      },
      skill: [
        {
          name: '抓',
          type: 'atk', //atk 普工，int 特攻
          power: 5, //威力
          info: '最原始的攻击，只能造成轻微的伤害',
          size: 30,
          count: 30,
        },
        {
          name: '吼',
          type: 'int', //atk 普工，int 特攻
          power: 0, //威力
          info: '有几率让对方害怕',
          size: 30,
          count: 30,
        },
        {
          name: '爬',
          type: 'int', //atk 普工，int 特攻
          power: 5, //威力
          info: '短暂提升速度',
          size: 30,
          count: 30,
        },
        {
          name: '瞪眼',
          type: 'atk', //atk 普工，int 特攻
          power: 5, //威力
          info: '一种最原始的攻击，只能造成轻微的伤害',
          size: 30,
          count: 30,
        },
      ],
    },
    {
      spriteId: 1,
      name: '皮皮',
      lv: 1,
      exp: {
        currExp: 0,
        maxExp: 100,
      },
      attr: {
        currAttr: {
          hp: 100,
          atk: 5,
          int: 0,
          def: 2,
          res: 2,
          phy: 1,
          agl: 2,
        },
        maxAttr: {
          hp: 100,
          atk: 5,
          int: 0,
          def: 2,
          res: 2,
          phy: 1,
          agl: 2,
        },
      },
      skill: [
        {
          name: '抓',
          type: 'atk', //atk 普工，int 特攻
          power: 5, //威力
          info: '最原始的攻击，只能造成轻微的伤害',
          size: 30,
          count: 30,
        },
        {
          name: '同生共死',
          type: 'int', //atk 普工，int 特攻
          power: 0, //威力
          info: '有几率让对方害怕',
          size: 30,
          count: 30,
        },
        {
          name: '起死回生',
          type: 'int', //atk 普工，int 特攻
          power: 5, //威力
          info: '短暂提升速度',
          size: 30,
          count: 30,
        },
        {
          name: '瞪眼',
          type: 'atk', //atk 普工，int 特攻
          power: 5, //威力
          info: '一种最原始的攻击，只能造成轻微的伤害',
          size: 30,
          count: 30,
        },
      ],
    },
    {
      spriteId: 1,
      name: '布布种子',
      lv: 1,
      exp: {
        currExp: 0,
        maxExp: 100,
      },
      attr: {
        currAttr: {
          hp: 100,
          atk: 5,
          int: 0,
          def: 2,
          res: 2,
          phy: 1,
          agl: 2,
        },
        maxAttr: {
          hp: 100,
          atk: 5,
          int: 0,
          def: 2,
          res: 2,
          phy: 1,
          agl: 2,
        },
      },
      skill: [
        {
          name: '光合作用',
          type: 'atk', //atk 普工，int 特攻
          power: 5, //威力
          info: '最原始的攻击，只能造成轻微的伤害',
          size: 30,
          count: 30,
        },
        {
          name: '寄生种子',
          type: 'int', //atk 普工，int 特攻
          power: 0, //威力
          info: '有几率让对方害怕',
          size: 30,
          count: 30,
        },
        {
          name: '爬',
          type: 'int', //atk 普工，int 特攻
          power: 5, //威力
          info: '短暂提升速度',
          size: 30,
          count: 30,
        },
        {
          name: '瞪眼',
          type: 'atk', //atk 普工，int 特攻
          power: 5, //威力
          info: '一种最原始的攻击，只能造成轻微的伤害',
          size: 30,
          count: 30,
        },
      ],
    },
  ];
  return mySprite;
};
export const mapData = () => {
  let data: mapStar[] = [
    {
      id: 1,
      name: '海洋星',
      type: 'wild',
      mapStarArry: [
        {
          id: 1,
          name: '海洋星表面',
          sprite: ['贝尔'],
        },
        {
          id: 2,
          name: '海洋星中海',
          sprite: ['利爪鱼', '尤克'],
        },
        {
          id: 3,
          name: '海洋星深海',
          sprite: ['小鲫鱼'],
          boss: '利牙鲨',
        },
      ], //星球组
    },
    {
      id: 2,
      name: '火山星',
      type: 'wild',
      mapStarArry: [
        {
          id: 1,
          name: '火山星外层',
          sprite: ['火山虫'],
        },
        {
          id: 2,
          name: '火山星山洞',
          sprite: ['吉尔'],
        },
        {
          id: 3,
          name: '火山星岩浆',
          sprite: [],
          boss: '里奥斯',
        },
      ], //星球组
    },
    {
      id: 3,
      name: '克罗斯星',
      type: 'wild',
      mapStarArry: [
        {
          id: 1,
          name: '克罗斯星表面',
          sprite: ['皮皮'],
        },
        {
          id: 2,
          name: '克罗斯星沼泽',
          sprite: ['仙人球', '小豆芽'],
        },
        {
          id: 3,
          name: '克罗斯星深处',
          sprite: [],
          boss: '蘑菇怪',
        },
      ], //星球组
    },
  ];
  return data;
};
